//消息通知详情
<template>
  <div class="detailsBox">
    <div class="detailsBox_tap">
      <h2>大马猴发给你一条消息</h2>
      <div class="time">{{ time }}</div>
    </div>
    <div class="detailsBox_bot">
        <p>大家好，我是大马猴又见面咯，用心做产品，不忘初心，向这梦想前进！！！</p>
         <el-button type="info" @click="$router.go(-1)">返回</el-button>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      time: "",
    };
  },
  mounted() {
    this.time = new Date().toLocaleString();
  },
  methods: {},
};
</script>
<style  lang="scss" scoped>
.detailsBox {
  .detailsBox_tap {
    width: 97%;
    height: 100px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
    h2 {
      padding: 10px;
      color: rgb(50, 161, 3);
    }
    .time {
      padding: 10px;
    }
  }
  .detailsBox_bot {
    width: 97%;
    margin: 10px auto;
    background: #ffffff;
    border-radius: 10px;
    p{
        padding: 20px;
    }
    .el-button{
        margin: 50px 20px;
    }
  }
}
</style>